package gui.anamnese;

import javax.swing.JPanel;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.Color;
import javax.swing.JTextArea;
import javax.swing.JScrollBar;

public class PanelAnamnese1 extends JPanel {
	private JTextField textFieldPaciente;
	private JTextField textFieldAquisicao;
	private JTextField textFieldAmbiente;
	private JTextField textFieldAlimentacao;
	private JTextField textFieldConvivio;

	/**
	 * Construtor
	 */
	public PanelAnamnese1() {
		
		setSize(664,703);
		
		JLabel label = new JLabel("");
		
		JLabel lblDadosIniciais = new JLabel("Dados Iniciais");
		lblDadosIniciais.setFont(new Font("Times New Roman", Font.BOLD, 20));
		
		JLabel lblPaciente = new JLabel("Paciente");
		lblPaciente.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		textFieldPaciente = new JTextField();
		textFieldPaciente.setForeground(Color.GRAY);
		textFieldPaciente.setText("Nome do Paciente");
		textFieldPaciente.setEditable(false);
		textFieldPaciente.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		textFieldPaciente.setColumns(10);
		
		JLabel lblAquisicao = new JLabel("Aquisicao");
		lblAquisicao.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		textFieldAquisicao = new JTextField();
		textFieldAquisicao.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		textFieldAquisicao.setColumns(10);
		
		JLabel lblAmbiente = new JLabel("Ambiente");
		lblAmbiente.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		textFieldAmbiente = new JTextField();
		textFieldAmbiente.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		textFieldAmbiente.setColumns(10);
		
		JLabel lblAlimentacao = new JLabel("Alimentacao");
		lblAlimentacao.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		textFieldAlimentacao = new JTextField();
		textFieldAlimentacao.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		textFieldAlimentacao.setColumns(10);
		
		JLabel lblConvivio = new JLabel("Convivio");
		lblConvivio.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		textFieldConvivio = new JTextField();
		textFieldConvivio.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		textFieldConvivio.setColumns(10);
		
		JLabel lblHisNosologico = new JLabel("Historico de Nosologico");
		lblHisNosologico.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		JLabel lblTratamentosAnteriores = new JLabel("Tratamentos  Anteriores");
		lblTratamentosAnteriores.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		JTextArea textArea = new JTextArea();
		textArea.setFont(new Font("Times New Roman", Font.PLAIN, 14));
		
		JTextArea textArea_1 = new JTextArea();
		textArea_1.setFont(new Font("Times New Roman", Font.PLAIN, 14));
		
		JLabel lblQueixaPrincipal = new JLabel("Queixa Principal");
		lblQueixaPrincipal.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		JTextArea textArea_2 = new JTextArea();
		textArea_2.setFont(new Font("Times New Roman", Font.PLAIN, 14));
		
		JLabel lblTramentoPrevio = new JLabel("Tramento Previo");
		lblTramentoPrevio.setFont(new Font("Times New Roman", Font.PLAIN, 16));
		
		JTextArea textArea_3 = new JTextArea();
		textArea_3.setFont(new Font("Times New Roman", Font.PLAIN, 14));
		GroupLayout groupLayout = new GroupLayout(this);
		groupLayout.setHorizontalGroup(
			groupLayout.createParallelGroup(Alignment.LEADING)
				.addGroup(groupLayout.createSequentialGroup()
					.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
						.addGroup(groupLayout.createSequentialGroup()
							.addGap(794)
							.addComponent(label))
						.addGroup(groupLayout.createSequentialGroup()
							.addGap(18)
							.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
								.addComponent(lblDadosIniciais)
								.addGroup(groupLayout.createParallelGroup(Alignment.LEADING, false)
									.addComponent(lblHisNosologico)
									.addGroup(groupLayout.createSequentialGroup()
										.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
											.addComponent(lblAquisicao)
											.addComponent(lblAmbiente, GroupLayout.PREFERRED_SIZE, 60, GroupLayout.PREFERRED_SIZE)
											.addComponent(lblAlimentacao)
											.addComponent(lblConvivio, GroupLayout.PREFERRED_SIZE, 75, GroupLayout.PREFERRED_SIZE)
											.addComponent(lblPaciente))
										.addGap(26)
										.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
											.addComponent(textFieldAmbiente, GroupLayout.PREFERRED_SIZE, 349, GroupLayout.PREFERRED_SIZE)
											.addComponent(textFieldAquisicao, GroupLayout.PREFERRED_SIZE, 349, GroupLayout.PREFERRED_SIZE)
											.addComponent(textFieldPaciente, GroupLayout.PREFERRED_SIZE, 349, GroupLayout.PREFERRED_SIZE)
											.addComponent(textFieldAlimentacao, GroupLayout.PREFERRED_SIZE, 349, GroupLayout.PREFERRED_SIZE)
											.addComponent(textFieldConvivio, GroupLayout.PREFERRED_SIZE, 349, GroupLayout.PREFERRED_SIZE)))
									.addComponent(textArea)
									.addComponent(lblTratamentosAnteriores, GroupLayout.PREFERRED_SIZE, 163, GroupLayout.PREFERRED_SIZE)
									.addComponent(textArea_1, GroupLayout.PREFERRED_SIZE, 450, GroupLayout.PREFERRED_SIZE)
									.addComponent(lblQueixaPrincipal, GroupLayout.PREFERRED_SIZE, 122, GroupLayout.PREFERRED_SIZE)
									.addComponent(textArea_2, GroupLayout.PREFERRED_SIZE, 450, GroupLayout.PREFERRED_SIZE)
									.addComponent(lblTramentoPrevio, GroupLayout.PREFERRED_SIZE, 122, GroupLayout.PREFERRED_SIZE)
									.addComponent(textArea_3, GroupLayout.PREFERRED_SIZE, 450, GroupLayout.PREFERRED_SIZE)))))
					.addContainerGap(346, Short.MAX_VALUE))
		);
		groupLayout.setVerticalGroup(
			groupLayout.createParallelGroup(Alignment.LEADING)
				.addGroup(groupLayout.createSequentialGroup()
					.addGap(22)
					.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
						.addComponent(label)
						.addComponent(lblDadosIniciais))
					.addGap(30)
					.addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
						.addGroup(groupLayout.createSequentialGroup()
							.addComponent(lblPaciente)
							.addGap(18)
							.addComponent(lblAquisicao, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
							.addGap(18)
							.addComponent(lblAmbiente, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
							.addGap(18)
							.addComponent(lblAlimentacao, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
							.addGap(18)
							.addComponent(lblConvivio, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE))
						.addGroup(groupLayout.createSequentialGroup()
							.addComponent(textFieldPaciente, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
							.addPreferredGap(ComponentPlacement.UNRELATED)
							.addComponent(textFieldAquisicao, GroupLayout.PREFERRED_SIZE, 25, GroupLayout.PREFERRED_SIZE)
							.addGap(12)
							.addComponent(textFieldAmbiente, GroupLayout.PREFERRED_SIZE, 25, GroupLayout.PREFERRED_SIZE)
							.addGap(12)
							.addComponent(textFieldAlimentacao, GroupLayout.PREFERRED_SIZE, 25, GroupLayout.PREFERRED_SIZE)
							.addGap(12)
							.addComponent(textFieldConvivio, GroupLayout.PREFERRED_SIZE, 25, GroupLayout.PREFERRED_SIZE)))
					.addGap(18)
					.addComponent(lblHisNosologico, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(ComponentPlacement.RELATED)
					.addComponent(textArea, GroupLayout.PREFERRED_SIZE, 68, GroupLayout.PREFERRED_SIZE)
					.addGap(18)
					.addComponent(lblTratamentosAnteriores, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(ComponentPlacement.RELATED)
					.addComponent(textArea_1, GroupLayout.PREFERRED_SIZE, 68, GroupLayout.PREFERRED_SIZE)
					.addGap(18)
					.addComponent(lblQueixaPrincipal, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(ComponentPlacement.RELATED)
					.addComponent(textArea_2, GroupLayout.PREFERRED_SIZE, 68, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(ComponentPlacement.UNRELATED)
					.addComponent(lblTramentoPrevio, GroupLayout.PREFERRED_SIZE, 19, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(ComponentPlacement.RELATED)
					.addComponent(textArea_3, GroupLayout.PREFERRED_SIZE, 68, GroupLayout.PREFERRED_SIZE)
					.addContainerGap(15, Short.MAX_VALUE))
		);
		setLayout(groupLayout);

	}
}
